package com.twentyOne.ClothingLand.service.impl;

import java.util.List;

import com.twentyOne.ClothingLand.dao.IPositionDAO;
import com.twentyOne.ClothingLand.dao.impl.PositionDAO;
import com.twentyOne.ClothingLand.service.IPositionService;
import com.twentyOne.ClothingLand.vo.Position;

public class PositionService implements IPositionService {
	
	private IPositionDAO positionDAO = new PositionDAO();
	
	@Override
	public void addPosition(Position position) {
		
		this.positionDAO.addPosition(position);
		
	}

	@Override
	public List<Position> searchAllPosition() {
		
		return this.positionDAO.searchAllPosition();
		
	}

}
